package com.nuoniu.sibanyun.entity.cm;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 合同附件
 * </p>
 *
 * @author 小啊刚
 * @since 2021-10-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("cm_contract_file")
@ApiModel(value="CmContractFile对象", description="合同附件")
public class CmContractFile extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "合同id")
    @TableField("contract_id")
    private Integer contractId;

    @ApiModelProperty(value = "文件名称")
    @TableField("file_name")
    private String fileName;

    @ApiModelProperty(value = "文件类型")
    @TableField("file_type")
    private String fileType;

    @ApiModelProperty(value = "文件地址")
    @TableField("file_url")
    private String fileUrl;


}
